<style type="text/css">
    .sm-st {
        background: #fff;
        padding: 20px;
        -webkit-border-radius: 3px;
        -moz-border-radius: 3px;
        border-radius: 3px;
        margin-bottom: 20px;
        -webkit-box-shadow: 0 1px 0px rgba(0, 0, 0, 0.05);
        box-shadow: 0 1px 0px rgba(0, 0, 0, 0.05);
    }

    .sm-st-icon {
        width: 60px;
        height: 60px;
        display: inline-block;
        line-height: 60px;
        text-align: center;
        font-size: 30px;
        background: #eee;
        -webkit-border-radius: 5px;
        -moz-border-radius: 5px;
        border-radius: 5px;
        float: left;
        margin-right: 10px;
        color: #fff;
    }

    .sm-st-info {
        font-size: 12px;
        padding-top: 2px;
    }

    .sm-st-info span {
        display: block;
        font-size: 24px;
        font-weight: 600;
    }

    .orange {
        background: #fa8564 !important;
    }

    .tar {
        background: #45cf95 !important;
    }

    .sm-st .green {
        background: #86ba41 !important;
    }

    .pink {
        background: #AC75F0 !important;
    }

    .yellow-b {
        background: #fdd752 !important;
    }

    .stat-elem {

        background-color: #fff;
        padding: 18px;
        border-radius: 40px;

    }

    .stat-info {
        text-align: center;
        background-color: #fff;
        border-radius: 5px;
        margin-top: -5px;
        padding: 8px;
        -webkit-box-shadow: 0 1px 0px rgba(0, 0, 0, 0.05);
        box-shadow: 0 1px 0px rgba(0, 0, 0, 0.05);
        font-style: italic;
    }

    .stat-icon {
        text-align: center;
        margin-bottom: 5px;
    }

    .st-red {
        background-color: #F05050;
    }

    .st-green {
        background-color: #27C24C;
    }

    .st-violet {
        background-color: #7266ba;
    }

    .st-blue {
        background-color: #23b7e5;
    }

    .stats .stat-icon {
        color: #28bb9c;
        display: inline-block;
        font-size: 26px;
        text-align: center;
        vertical-align: middle;
        width: 50px;
        float: left;
    }

    .stat {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: inline-block;
        margin-right: 10px;
    }

    .stat .value {
        font-size: 20px;
        line-height: 24px;
        overflow: hidden;
        text-overflow: ellipsis;
        font-weight: 500;
    }

    .stat .name {
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .stat.lg .value {
        font-size: 26px;
        line-height: 28px;
    }

    .stat.lg .name {
        font-size: 16px;
    }

    .stat-col .progress {
        height: 2px;
    }

    .stat-col .progress-bar {
        line-height: 2px;
        height: 2px;
    }

    .item {
        padding: 30px 0;
    }
</style>

<div class="panel panel-default panel-intro">
    <div class="panel-heading">
<!--        {:build_heading(null, false)}-->
        <ul class="nav nav-tabs">
            <li class="active"><a href="#one" data-toggle="tab">工作台</a></li>
<!--            <li><a href="#two" data-toggle="tab">{:__('Custom')}</a></li>-->
        </ul>
    </div>
    <div class="panel-body">

        <div class="row" style="margin-top:15px;">

            <div class="col-lg-12">
            </div>
            <div class="col-xs-6 col-md-3" onclick="tijian();">

                <div class="panel bg-blue">
                    <div class="panel-body">

                        <div class="panel-content">
                            <h1 class="no-margins">体检</h1>

                        </div>
                    </div>
                </div>

            </div>
            <div class="col-xs-6 col-md-3" onclick="guahao();">

                <div class="panel bg-aqua-gradient">
                    <div class="panel-body">

                        <div class="ibox-content">
                            <h1 class="no-margins">挂号</h1>

                        </div>
                    </div>
                </div>

            </div>
        </div>
        <p style="border-bottom: 1px solid #000 ;height: 20px">数据统计</p>
        <div id="myTabContent" class="tab-content">
            <div class="tab-pane fade active in" id="one">

                <div class="row">
                    <div class="col-sm-3 col-xs-6">
                        <div class="sm-st clearfix">
                            <span class="sm-st-icon st-red"><i class="fa fa-users"></i></span>
                            <div class="sm-st-info">
                                <span>{$todayusers}</span>
                                今日新增用户数
                            </div>
                        </div>
                    </div>
                    <div class="col-sm-3 col-xs-6">
                        <div class="sm-st clearfix">
                            <span class="sm-st-icon st-violet"><i class="fa fa-book"></i></span>
                            <div class="sm-st-info">
                                <span>{$todayghnums}</span>
                                今日挂号订单数
                            </div>
                        </div>
                    </div>
                    <div class="col-sm-3 col-xs-6">
                        <div class="sm-st clearfix">
                            <span class="sm-st-icon st-blue"><i class="fa  fa-cny"></i></span>
                            <div class="sm-st-info">
                                <span>{$todayghmoney}</span>
                                今日挂号订单总消耗
                            </div>
                        </div>
                    </div>
                    <div class="col-sm-3 col-xs-6">
                        <div class="sm-st clearfix">
                            <span class="sm-st-icon st-green"><i class="fa  fa-shopping-bag"></i></span>
                            <div class="sm-st-info">
                                <span>{$todaytjnums}</span>
                                今日体检订单数数
                            </div>
                        </div>
                    </div>
                    <div class="col-sm-3 col-xs-6">
                        <div class="sm-st clearfix">
                            <span class="sm-st-icon st-blue"><i class="fa  fa-cny"></i></span>
                            <div class="sm-st-info">
                                <span>{$todaytjmoney}</span>
                                今日体检订单总消耗
                            </div>
                        </div>
                    </div>
                </div>
                <div class="row">
                    <div class="col-sm-3 col-xs-6">
                        <div class="sm-st clearfix">
                            <span class="sm-st-icon st-red"><i class="fa fa-users"></i></span>
                            <div class="sm-st-info">
                                <span>{$users}</span>
                                用户总数
                            </div>
                        </div>
                    </div>
                    <div class="col-sm-3 col-xs-6">
                        <div class="sm-st clearfix">
                            <span class="sm-st-icon st-violet"><i class="fa fa-book"></i></span>
                            <div class="sm-st-info">
                                <span>{$ghnums}</span>
                                挂号订单总数
                            </div>
                        </div>
                    </div>
                    <div class="col-sm-3 col-xs-6">
                        <div class="sm-st clearfix">
                            <span class="sm-st-icon st-blue"><i class="fa  fa-cny"></i></span>
                            <div class="sm-st-info">
                                <span>{$ghmoney}</span>
                                挂号订单总消耗
                            </div>
                        </div>
                    </div>
                    <div class="col-sm-3 col-xs-6">
                        <div class="sm-st clearfix">
                            <span class="sm-st-icon st-green"><i class="fa  fa-shopping-bag"></i></span>
                            <div class="sm-st-info">
                                <span>{$tjnums}</span>
                                体检订单总数
                            </div>
                        </div>
                    </div>
                    <div class="col-sm-3 col-xs-6">
                        <div class="sm-st clearfix">
                            <span class="sm-st-icon st-blue"><i class="fa  fa-cny"></i></span>
                            <div class="sm-st-info">
                                <span>{$tjmoney}</span>
                                体检订单总消耗
                            </div>
                        </div>
                    </div>
                </div>
                <div>
                    <p>备注：</p>
                    <ul>
                        <p>1、挂号默认用户勾选一张里有效期最近的优惠券</p>
                        <p>2、体检由用户自己勾选优惠券，可多选</p>
                    </ul>
                </div>
</div>
        </div>
    </div>
</div>
<style>
    .col-xs-6{
        width: 20%;
    }
</style>
<script>
    function tijian() {
        var url = 'user/user/operate?do=tijian&ids=2';//弹出窗口 add.html页面的（fastadmin封装layer模态框将以iframe的方式将add输出到index页面的模态框里）
        Fast.api.open(url,'体检');
    }
    function guahao() {
        var url = 'user/user/operate?do=guahao&ids=2';//弹出窗口 add.html页面的（fastadmin封装layer模态框将以iframe的方式将add输出到index页面的模态框里）
        Fast.api.open(url,'挂号');
    }

</script>
